home *** CD-ROM | disk | FTP | other *** search
/ CyberMycha 2008 January / Cybermycha 1_2008.iso / Data.cab / _4CD76D3BF7104F048952BD33C2F0BF15 < prev    next >
Encoding:
Text File  |  2004-07-27  |  2.2 KB  |  99 lines

  1. // $TEXTURE1
  2. // $TEX1OPTIONSFILE
  3. // $SPECPOW
  4. // $REFL_STRENGTH
  5. // $CULLING
  6.  
  7. shader()
  8. {
  9.     pass()
  10.     {
  11.         Lighting()
  12.         Vertexshader("CarGB_Menu_ps11.vsh")
  13.         Pixelshader("CarGB_Menu_ps11.psh")               
  14.  
  15.         !include("__tex1menu.mtt")
  16.  
  17.         !include("__MenuDiffuseCubeMap.mtt")
  18.         !include("__MenuCubeMap.mtt")
  19.         !include("__Broken.mtt")        
  20.  
  21.         TFactor(0.0, 0.0, REFL_STRENGTH, 1.0) 
  22.         BlendFunc("one", "inv_src_alpha")
  23.     }
  24.     sortweight("depth_sorted")
  25.     Cull(CULLING)
  26. }
  27.  
  28.  
  29. // GF 2
  30. shader()
  31. {
  32.     ShaderQuality(0)
  33.     pass()
  34.     {
  35.         Lighting()
  36.         tmu()
  37.         {
  38.             Texture()
  39.             {
  40.                 Mapchannel(0)
  41.                 Image(TEXTURE1)
  42.                 !include(TEX1OPTIONSFILE)
  43.                 lodbias(-1.0)                
  44.             }
  45.             ColorOp("arg1", "texture", "current", "current")
  46.             AlphaOp("arg1", "texture", "current", "current")
  47.         } 
  48.         tmu()
  49.         {
  50.             TexGen("normal")
  51.             Texture()
  52.             {
  53.                 Cubemap("MenuDiffuseCubemap.dds")
  54.             }
  55.             ColorOp("mul", "texture", "current", "current")
  56.             AlphaOp("arg1", "current", "current", "current")
  57.         }
  58.         BlendFunc("one", "inv_src_alpha")
  59.     }
  60.  
  61.     pass()
  62.     {
  63.         Lighting()
  64.         tmu()
  65.         {
  66.             TexGen("reflection")
  67.             Texture()
  68.             {
  69.                 Cubemap("MenuCubemap.dds")
  70.             }
  71.             ColorOp("mul", "texture", "tfactor_a", "current")
  72.         }             
  73.         TFactor(0.0, 0.0, 0.0, REFL_STRENGTH)         
  74.         BlendFunc("one", "one")
  75.     }
  76.     pass()
  77.     {
  78.         Lighting()
  79.         tmu()
  80.         {
  81.             Texture()
  82.             {
  83.                 Mapchannel(0)
  84.                 Image(BROKEN)
  85.                 !include(BROKENOPTIONSFILE)
  86.                 !include("__TO_Clamp&Linear.mtt")
  87.             }
  88.             ColorOp("arg1", "texture", "current", "current")
  89.         } 
  90.         BlendFunc("one", "one")        
  91.     }
  92.     
  93.     sortweight("depth_sorted")
  94.     Cull(CULLING)
  95. }
  96.  
  97.  
  98.  
  99.